﻿using UnityEngine;
using System.Collections;

public class MainMenuViewModel {
	private OptionMenu sbOption;
	
	public void StartGame(UIButton sender)
	{
        Application.LoadLevel("LoadingScene");
	}
	
	public void showOption(UIButton sender)
	{
		if(sbOption == null){
			sbOption = new OptionMenu();
		}
		if(!sbOption.GetStateShow())
		{
			sbOption.Show();
		}
	}
	
	public void ExitGame(UIButton sender)
	{
		Application.Quit();
	}
}
